# 调用 9-8 的程序

class User():
    """记录用户信息"""

    def __init__(self,xing,ming,*qita):
        self.xing=xing
        self.ming=ming
        self.qita=qita

    def describe_user(self):
        print("姓："+self.xing)
        print("名："+self.ming)
        if self.qita:
            print('\n其他：\n')
            for info in self.qita:
                print("-"+info)

    def greet_user(self):
        print('\n'+self.ming + '仔,我们奈你！')
        print(self.ming+'仔,你老霸道了！')

class Admin(User):
    """特殊的用户，管理员"""

    def __init__(self,xing,ming,*qita):

        super().__init__(xing,ming,*qita)


    def show_privileges(self):
        Privileges()

class Privileges():
    """管理人员特权"""

    def __init__(self):
        self.privileges = '和稀泥'
        print('\n管理员能' + self.privileges)

